package com.sf.webside.entity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 文章详情表Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="cms_article_data")
public class CmsArticleDataEntity extends BaseEntity{
//  `content` text COMMENT '文章内容',
//            `copyfrom` varchar(255) DEFAULT NULL COMMENT '文章来源',
//            `relation` varchar(255) DEFAULT NULL COMMENT '相关文章',
//            `allow_comment` char(1) DEFAULT NULL COMMENT '是否允许评论',

    private static final long serialVersionUID = 1L;
    private String content;		    // 文章内容
    private String copyfrom;		// 文章来源
    private String relation;		// 相关文章
    private String allowComment;		// 是否允许评论

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCopyfrom() {
        return copyfrom;
    }

    public void setCopyfrom(String copyfrom) {
        this.copyfrom = copyfrom;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public String getAllowComment() {
        return allowComment;
    }

    public void setAllowComment(String allowComment) {
        this.allowComment = allowComment;
    }
}